<!DOCTYPE HTML>
<html>

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  {template header_static.html}
  <link href="{HOME_THEME_PATH}css/iconfont.css" rel="stylesheet" media="screen" type="text/css">
  <link href="{HOME_THEME_PATH}css/swiper.min.css" rel="stylesheet" media="screen" type="text/css">
  <link href="{HOME_THEME_PATH}css/layui.css" rel="stylesheet" media="screen" type="text/css">
  <link href="{HOME_THEME_PATH}css/style.css" rel="stylesheet" media="screen" type="text/css">
  <link href="{HOME_THEME_PATH}css/common.css" rel="stylesheet" media="screen" type="text/css">
  <link href="{HOME_THEME_PATH}css/font-awesome.min.css" rel="stylesheet" media="screen" type="text/css">
  <script language="javascript" type="text/javascript" src="{HOME_THEME_PATH}js/jquery-3.7.0.min.js"></script>
  <script language="javascript" type="text/javascript" src="{HOME_THEME_PATH}js/layui.js"></script>
  <script language="javascript" type="text/javascript" src="{HOME_THEME_PATH}js/swiper.min.js"></script>
</head>

<body>
  {template header.html}
  <div class="small_banner">
      <?php $neiyebanner=dr_site_value('neiyebanner');?>
      <?php if ($neiyebanner) { $key=0; foreach ($neiyebanner as $v) { ?>
      {if $key == 3}
      <div class="pic" style="background-image: url('{dr_get_file($v[2])}')"></div>
      {/if}
      <?php  $key++; } } ?>
      <div class="mask">
          <div class="a1">{usu_fanyi($cat['name'], $language)}</div>
          <div class="a2"></div>
      </div>
  </div>
  <div class="contact">
    <main class="box">
      <?php $dblxfs=dr_site_value('dblxfs');?>
      <div class="lianxi">
        <h3>响应式厨具用品网站模板</h3>
        <span></span>
        <p>
        <?php if ($dblxfs) { $key=0; foreach ($dblxfs as $v) { ?>
          {$v[1]}: <a href="{$v[3]}">{$v[2]}</a><br>
          <?php  $key++; } } ?>
        </p>
      </div>
      <div id="mapContainer"><img src="{HOME_THEME_PATH}picture/map.png"></div>
    </main>
  </div>
  <style type="text/css">
    #mapContainer {
      width: 100%;
      overflow: hidden;
      font-size: 14px;
    }

    #mapContainer b {
      color: #CC5522;
    }

    #mapContainer img {
      max-width: none;
    }
  </style>
  <div class="message" id="message">
    <main>
      <div class="tit">
        <h3>{usu_fanyi('Inquiry', $language)}</h3>
        <p>{usu_fanyi('Leave your contact information and we will contact you within 24 hours', $language)}</p>
      </div>
      <form name="myform" id="myform"  method="post" class="layui-form inner_form">
        <div class="layui-form-item layui-form-text">
            <textarea name="data[lynr]" placeholder="{usu_fanyi('Message', $language)}" class="layui-textarea"></textarea>
        </div>
        <?php $bdzd=dr_site_value('bdzd');?>
        <?php if ($bdzd) { $key=0; foreach ($bdzd as $v) { ?>
        <div class="layui-form-item">
            <input type="text" name="{$v[2]}" placeholder="{usu_fanyi($v[1], $language)}"
                autocomplete="off" class="layui-input">
        </div>
        <?php  $key++; } } ?>
        <img align="absmiddle" style="cursor:pointer; height: 30px;"
        onclick="this.src='/index.php?s=api&amp;c=api&amp;m=captcha&amp;width=120&amp;height=35&amp;'+Math.random();"
        src="/index.php?s=api&amp;c=api&amp;m=captcha&amp;width=120&amp;height=30&amp;0.03476318342132978">
        <div class="layui-form-item btn">
            <button class="layui-btn" type="button" onclick="dr_ajax_submit('{$post_url}', 'myform', '2000', '{$rt_url}')">{usu_fanyi('Submit', $language)}</button>
        </div>
    </form>
    </main>
  </div>
  {template footer.html}
  <script language="javascript" type="text/javascript" src="{HOME_THEME_PATH}js/app.js"></script>

</body>

</html>